<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Class: Origami::XDP::Packet::Template</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
  <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
  <script type="text/javascript">
  // <![CDATA[

  function popupCode( url ) {
    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
  }

  function toggleCode( id ) {
    if ( document.getElementById )
      elem = document.getElementById( id );
    else if ( document.all )
      elem = eval( "document.all." + id );
    else
      return false;

    elemStyle = elem.style;
    
    if ( elemStyle.display != "block" ) {
      elemStyle.display = "block"
    } else {
      elemStyle.display = "none"
    }

    return true;
  }
  
  // Make codeblocks hidden by default
  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
  
  // ]]>
  </script>

</head>
<body>



    <div id="classHeader">
        <table class="header-table">
        <tr class="top-aligned-row">
          <td><strong>Class</strong></td>
          <td class="class-name-in-header">Origami::XDP::Packet::Template</td>
        </tr>
        <tr class="top-aligned-row">
            <td><strong>In:</strong></td>
            <td>
                <a href="../../../../files/origami/xfa_rb.html">
                origami/xfa.rb
                </a>
        <br />
            </td>
        </tr>

        <tr class="top-aligned-row">
            <td><strong>Parent:</strong></td>
            <td>
                XFA::Element
            </td>
        </tr>
        </table>
    </div>
  <!-- banner header -->

  <div id="bodyContent">



  <div id="contextContent">

    <div id="description">
      <p>
This packet contains the form template.
</p>

    </div>


   </div>

    <div id="method-list">
      <h3 class="section-bar">Methods</h3>

      <div class="name-list">
      <a href="#M000133">new</a>&nbsp;&nbsp;
      </div>
    </div>

  </div>


    <!-- if includes -->

    <div id="section">

    <div id="class-list">
      <h3 class="section-bar">Classes and Modules</h3>

      Class <a href="Template/AppearanceFilter.html" class="link">Origami::XDP::Packet::Template::AppearanceFilter</a><br />
Class <a href="Template/Arc.html" class="link">Origami::XDP::Packet::Template::Arc</a><br />
Class <a href="Template/Area.html" class="link">Origami::XDP::Packet::Template::Area</a><br />
Class <a href="Template/Assist.html" class="link">Origami::XDP::Packet::Template::Assist</a><br />
Class <a href="Template/Barcode.html" class="link">Origami::XDP::Packet::Template::Barcode</a><br />
Class <a href="Template/Bind.html" class="link">Origami::XDP::Packet::Template::Bind</a><br />
Class <a href="Template/BindItems.html" class="link">Origami::XDP::Packet::Template::BindItems</a><br />
Class <a href="Template/Bookend.html" class="link">Origami::XDP::Packet::Template::Bookend</a><br />
Class <a href="Template/Boolean.html" class="link">Origami::XDP::Packet::Template::Boolean</a><br />
Class <a href="Template/Border.html" class="link">Origami::XDP::Packet::Template::Border</a><br />
Class <a href="Template/Break.html" class="link">Origami::XDP::Packet::Template::Break</a><br />
Class <a href="Template/BreakAfter.html" class="link">Origami::XDP::Packet::Template::BreakAfter</a><br />
Class <a href="Template/BreakBefore.html" class="link">Origami::XDP::Packet::Template::BreakBefore</a><br />
Class <a href="Template/Button.html" class="link">Origami::XDP::Packet::Template::Button</a><br />
Class <a href="Template/Calculate.html" class="link">Origami::XDP::Packet::Template::Calculate</a><br />
Class <a href="Template/Caption.html" class="link">Origami::XDP::Packet::Template::Caption</a><br />
Class <a href="Template/Certificate.html" class="link">Origami::XDP::Packet::Template::Certificate</a><br />
Class <a href="Template/Certificates.html" class="link">Origami::XDP::Packet::Template::Certificates</a><br />
Class <a href="Template/CheckButton.html" class="link">Origami::XDP::Packet::Template::CheckButton</a><br />
Class <a href="Template/ChoiceList.html" class="link">Origami::XDP::Packet::Template::ChoiceList</a><br />
Class <a href="Template/Color.html" class="link">Origami::XDP::Packet::Template::Color</a><br />
Class <a href="Template/Comb.html" class="link">Origami::XDP::Packet::Template::Comb</a><br />
Class <a href="Template/Connect.html" class="link">Origami::XDP::Packet::Template::Connect</a><br />
Class <a href="Template/ContentArea.html" class="link">Origami::XDP::Packet::Template::ContentArea</a><br />
Class <a href="Template/Corner.html" class="link">Origami::XDP::Packet::Template::Corner</a><br />
Class <a href="Template/Date.html" class="link">Origami::XDP::Packet::Template::Date</a><br />
Class <a href="Template/DateTime.html" class="link">Origami::XDP::Packet::Template::DateTime</a><br />
Class <a href="Template/DateTimeEdit.html" class="link">Origami::XDP::Packet::Template::DateTimeEdit</a><br />
Class <a href="Template/Decimal.html" class="link">Origami::XDP::Packet::Template::Decimal</a><br />
Class <a href="Template/DefaultUI.html" class="link">Origami::XDP::Packet::Template::DefaultUI</a><br />
Class <a href="Template/Desc.html" class="link">Origami::XDP::Packet::Template::Desc</a><br />
Class <a href="Template/DigestMethod.html" class="link">Origami::XDP::Packet::Template::DigestMethod</a><br />
Class <a href="Template/DigestMethods.html" class="link">Origami::XDP::Packet::Template::DigestMethods</a><br />
Class <a href="Template/Draw.html" class="link">Origami::XDP::Packet::Template::Draw</a><br />
Class <a href="Template/Edge.html" class="link">Origami::XDP::Packet::Template::Edge</a><br />
Class <a href="Template/Encoding.html" class="link">Origami::XDP::Packet::Template::Encoding</a><br />
Class <a href="Template/Encodings.html" class="link">Origami::XDP::Packet::Template::Encodings</a><br />
Class <a href="Template/Encrypt.html" class="link">Origami::XDP::Packet::Template::Encrypt</a><br />
Class <a href="Template/Event.html" class="link">Origami::XDP::Packet::Template::Event</a><br />
Class <a href="Template/ExData.html" class="link">Origami::XDP::Packet::Template::ExData</a><br />
Class <a href="Template/ExObject.html" class="link">Origami::XDP::Packet::Template::ExObject</a><br />
Class <a href="Template/ExclGroup.html" class="link">Origami::XDP::Packet::Template::ExclGroup</a><br />
Class <a href="Template/Execute.html" class="link">Origami::XDP::Packet::Template::Execute</a><br />
Class <a href="Template/Extras.html" class="link">Origami::XDP::Packet::Template::Extras</a><br />
Class <a href="Template/Field.html" class="link">Origami::XDP::Packet::Template::Field</a><br />
Class <a href="Template/Fill.html" class="link">Origami::XDP::Packet::Template::Fill</a><br />
Class <a href="Template/Filter.html" class="link">Origami::XDP::Packet::Template::Filter</a><br />
Class <a href="Template/Float.html" class="link">Origami::XDP::Packet::Template::Float</a><br />
Class <a href="Template/Font.html" class="link">Origami::XDP::Packet::Template::Font</a><br />
Class <a href="Template/FormCalcScript.html" class="link">Origami::XDP::Packet::Template::FormCalcScript</a><br />
Class <a href="Template/Format.html" class="link">Origami::XDP::Packet::Template::Format</a><br />
Class <a href="Template/Handler.html" class="link">Origami::XDP::Packet::Template::Handler</a><br />
Class <a href="Template/Hyphenation.html" class="link">Origami::XDP::Packet::Template::Hyphenation</a><br />
Class <a href="Template/Image.html" class="link">Origami::XDP::Packet::Template::Image</a><br />
Class <a href="Template/ImageEdit.html" class="link">Origami::XDP::Packet::Template::ImageEdit</a><br />
Class <a href="Template/Integer.html" class="link">Origami::XDP::Packet::Template::Integer</a><br />
Class <a href="Template/Issuers.html" class="link">Origami::XDP::Packet::Template::Issuers</a><br />
Class <a href="Template/Items.html" class="link">Origami::XDP::Packet::Template::Items</a><br />
Class <a href="Template/JavaScript.html" class="link">Origami::XDP::Packet::Template::JavaScript</a><br />
Class <a href="Template/Keep.html" class="link">Origami::XDP::Packet::Template::Keep</a><br />
Class <a href="Template/KeyUsage.html" class="link">Origami::XDP::Packet::Template::KeyUsage</a><br />
Class <a href="Template/Line.html" class="link">Origami::XDP::Packet::Template::Line</a><br />
Class <a href="Template/Linear.html" class="link">Origami::XDP::Packet::Template::Linear</a><br />
Class <a href="Template/LockDocument.html" class="link">Origami::XDP::Packet::Template::LockDocument</a><br />
Class <a href="Template/MDP.html" class="link">Origami::XDP::Packet::Template::MDP</a><br />
Class <a href="Template/Manifest.html" class="link">Origami::XDP::Packet::Template::Manifest</a><br />
Class <a href="Template/Margin.html" class="link">Origami::XDP::Packet::Template::Margin</a><br />
Class <a href="Template/Medium.html" class="link">Origami::XDP::Packet::Template::Medium</a><br />
Class <a href="Template/Message.html" class="link">Origami::XDP::Packet::Template::Message</a><br />
Class <a href="Template/NumericEdit.html" class="link">Origami::XDP::Packet::Template::NumericEdit</a><br />
Class <a href="Template/OID.html" class="link">Origami::XDP::Packet::Template::OID</a><br />
Class <a href="Template/OIDs.html" class="link">Origami::XDP::Packet::Template::OIDs</a><br />
Class <a href="Template/Occur.html" class="link">Origami::XDP::Packet::Template::Occur</a><br />
Class <a href="Template/Overflow.html" class="link">Origami::XDP::Packet::Template::Overflow</a><br />
Class <a href="Template/PageArea.html" class="link">Origami::XDP::Packet::Template::PageArea</a><br />
Class <a href="Template/PageSet.html" class="link">Origami::XDP::Packet::Template::PageSet</a><br />
Class <a href="Template/Para.html" class="link">Origami::XDP::Packet::Template::Para</a><br />
Class <a href="Template/PasswordEdit.html" class="link">Origami::XDP::Packet::Template::PasswordEdit</a><br />
Class <a href="Template/Pattern.html" class="link">Origami::XDP::Packet::Template::Pattern</a><br />
Class <a href="Template/Picture.html" class="link">Origami::XDP::Packet::Template::Picture</a><br />
Class <a href="Template/Proto.html" class="link">Origami::XDP::Packet::Template::Proto</a><br />
Class <a href="Template/Radial.html" class="link">Origami::XDP::Packet::Template::Radial</a><br />
Class <a href="Template/Reason.html" class="link">Origami::XDP::Packet::Template::Reason</a><br />
Class <a href="Template/Reasons.html" class="link">Origami::XDP::Packet::Template::Reasons</a><br />
Class <a href="Template/Rectangle.html" class="link">Origami::XDP::Packet::Template::Rectangle</a><br />
Class <a href="Template/Ref.html" class="link">Origami::XDP::Packet::Template::Ref</a><br />
Class <a href="Template/Script.html" class="link">Origami::XDP::Packet::Template::Script</a><br />
Class <a href="Template/SetProperty.html" class="link">Origami::XDP::Packet::Template::SetProperty</a><br />
Class <a href="Template/SignData.html" class="link">Origami::XDP::Packet::Template::SignData</a><br />
Class <a href="Template/Signature.html" class="link">Origami::XDP::Packet::Template::Signature</a><br />
Class <a href="Template/Signing.html" class="link">Origami::XDP::Packet::Template::Signing</a><br />
Class <a href="Template/Solid.html" class="link">Origami::XDP::Packet::Template::Solid</a><br />
Class <a href="Template/Speak.html" class="link">Origami::XDP::Packet::Template::Speak</a><br />
Class <a href="Template/Stipple.html" class="link">Origami::XDP::Packet::Template::Stipple</a><br />
Class <a href="Template/Subform.html" class="link">Origami::XDP::Packet::Template::Subform</a><br />
Class <a href="Template/SubformSet.html" class="link">Origami::XDP::Packet::Template::SubformSet</a><br />
Class <a href="Template/SubjectDN.html" class="link">Origami::XDP::Packet::Template::SubjectDN</a><br />
Class <a href="Template/SubjectDNs.html" class="link">Origami::XDP::Packet::Template::SubjectDNs</a><br />
Class <a href="Template/Submit.html" class="link">Origami::XDP::Packet::Template::Submit</a><br />
Class <a href="Template/Text.html" class="link">Origami::XDP::Packet::Template::Text</a><br />
Class <a href="Template/TextEdit.html" class="link">Origami::XDP::Packet::Template::TextEdit</a><br />
Class <a href="Template/Time.html" class="link">Origami::XDP::Packet::Template::Time</a><br />
Class <a href="Template/TimeStamp.html" class="link">Origami::XDP::Packet::Template::TimeStamp</a><br />
Class <a href="Template/ToolTip.html" class="link">Origami::XDP::Packet::Template::ToolTip</a><br />
Class <a href="Template/Traversal.html" class="link">Origami::XDP::Packet::Template::Traversal</a><br />
Class <a href="Template/Traverse.html" class="link">Origami::XDP::Packet::Template::Traverse</a><br />
Class <a href="Template/UI.html" class="link">Origami::XDP::Packet::Template::UI</a><br />
Class <a href="Template/Validate.html" class="link">Origami::XDP::Packet::Template::Validate</a><br />
Class <a href="Template/Value.html" class="link">Origami::XDP::Packet::Template::Value</a><br />
Class <a href="Template/Variables.html" class="link">Origami::XDP::Packet::Template::Variables</a><br />

    </div>




      


    <!-- if method_list -->
    <div id="methods">
      <h3 class="section-bar">Public Class methods</h3>

      <div id="method-M000133" class="method-detail">
        <a name="M000133"></a>

        <div class="method-heading">
          <a href="#M000133" class="method-signature">
          <span class="method-name">new</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000133-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000133-source">
<pre>
      <span class="ruby-comment cmt"># File origami/xfa.rb, line 2941</span>
2941:         <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
2942:           <span class="ruby-keyword kw">super</span>(<span class="ruby-value str">&quot;template&quot;</span>)
2943: 
2944:           <span class="ruby-identifier">add_attribute</span> <span class="ruby-value str">'xmlns:xfa'</span>, <span class="ruby-value str">'http://www.xfa.org/schema/xfa-template/3.0/'</span>
2945:         <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>


    </div>


  </div>


<div id="validator-badges">
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>

</body>
</html>